import request from '@/utils/request'
//查询订单状态
export function orderList(data) {
  return request({
    url: 'order/orderInfoByPage',
    method: 'post',
    data: data
  })
}

//查看订单详情
export function ordermessage(orderNO) {
  return request({
    url: 'order/orderDetailByOrderId/'+orderNO,
    method: 'get',
  })
}

//发货
export function delivery(data) {
  return request({
    url: 'order/delivery',
    method: 'post',
    data:data
  })
}